package com.dmjj.common.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author 王丽凯
 * @Description: TODO
 * @Title: LoginEntity
 * @ProjectName dmjj-parent
 * @date 2018/12/26
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("登录用户信息实体类")
public class LoginEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private String userid;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("凭证")
    private String token;
    @ApiModelProperty("密码 仅pc端使用")
    private String password;
    @ApiModelProperty("用户名称")
    private String name;
    @ApiModelProperty("中心店面")
    private String store;
    @ApiModelProperty("部门")
    private String bm;
    /**
     * @Description: 3 手机端确认登录 4手机端取消
     * @author 王丽凯
     * @date 2019/3/19
     */
    private int login = 0;

    @Override
    public String toString(){
        return "userid="+userid+",phone="+phone+",token="+token+",name="+name+",store="+store+",bm="+bm;
    }
}
